package com.gilight.base.model;

import java.util.Date;

public class SysPermission {
    private Long id;

    private String name;

    private Long parentId;

    private String url;

    private String route;

    private String icon;

    private Integer type;

    private Integer orderSeq;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private String appKey;

    public SysPermission() {
    }

    public SysPermission(Long id, Integer status) {
        this.id = id;
        this.status = status;
    }

    public SysPermission(String name, String url, String route, String icon, Integer orderSeq) {
        this.name = name;
        this.url = url;
        this.route = route;
        this.icon = icon;
        this.orderSeq = orderSeq;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getOrderSeq() {
        return orderSeq;
    }

    public void setOrderSeq(Integer orderSeq) {
        this.orderSeq = orderSeq;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }
}